<link rel="stylesheet" type="text/css" href="/plugins/upload-form/css/jquery.filer.css">
<script src="/plugins/upload-form/js/jquery.filer.min.js" type="text/javascript"></script>
<script src="/plugins/upload-form/js/prettify.js" type="text/javascript"></script>
<script src="/plugins/upload-form/js/custom.js" type="text/javascript"></script>
<script src="/plugins/control/js/zyUpload.js" type="text/javascript"></script>
@yield('js')
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">合同编号</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="member" id="tag" value="{{ $member }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">合同/文件名称</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="name" id="tag" value="{{ $name }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">文件编号</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="file_member" id="tag" value="{{ $file_member }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">日期</label>
    <div class="col-md-6">
        <input type="text" name="date_time" id="datetimeStart" class="form-control" value="{{ $date_time }}">
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">进度</label>
    <div class="col-md-6">
        <input type="text" class="form-control" name="schedule" id="tag" value="{{ $schedule }}" autofocus>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">备注</label>
    <div class="col-md-6">
        <textarea name="remark" class="form-control" rows="3">{{ $remark }}</textarea>
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">上传Excel</label>
    <div class="col-md-6">
        <input type="file" name="files[]" id="demo-fileInput-1" data-bool="@if(empty($excel)) 0 @else 1 @endif" data-file="{{asset($excel)}}" data-name="{{basename($excel)}}" data-type="{{ substr(strrchr($excel, '.'), 1) }}" multiple="multiple">
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">上传CAD</label>
    <div class="col-md-6">
        <input type="file" name="files[]" id="demo-fileInput-2" data-bool="@if(empty($cad)) 0 @else 1 @endif" data-file="{{ asset($cad) }}" data-name="{{basename($cad)}}" multiple="multiple">
    </div>
</div>
<div class="form-group">
    <label for="tag" class="col-md-3 control-label">上传图纸</label>
    <div class="col-md-6">
        <input type="file" name="files[]" id="demo-fileInput-12" data-bool="@if(empty($cad)) 0 @else 1 @endif" data-file="{{ asset($cad) }}" data-name="{{basename($cad)}}" multiple="multiple">
    </div>
</div>
<input type="hidden" name="project_id" value="{{ $project_id }}">
<input type="hidden" name="fid" value="{{ $fid }}">
@section('js')
    <script type="text/javascript">
        $("#datetimeStart").datetimepicker({
            format: 'yyyy-mm-dd',
            minView:'month',
            language: 'zh-CN',
            autoclose:true,
        });
        $("#datetimeEnd").datetimepicker({
            format: 'yyyy-mm-dd',
            minView:'month',
            language: 'zh-CN',
            autoclose:true,
        });
    </script>
@endsection
